using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {
	
	public GUISkin skin;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
    {
       	GUI.skin = skin;
        GUI.BeginGroup(new Rect(Screen.width / 2 - 200, Screen.height / 2 - 200, 400, 400));
        GUI.Box(new Rect(0, 0, 400, 400), "Main Menu");
        if (GUI.Button(new Rect(32, 70, 100, 30), "New Game"))
        {
            Application.LoadLevel("Difficulty");
        }
		if(GUI.Button(new Rect(32,110,100,30),"High Score"))
		{
			Application.LoadLevel("HighScore");	
		}
        GUI.EndGroup();
    }
}
